\newcommand{\resultstemplate}[2] {
\begin{figure}
\centering
\subfigure{\includegraphics[width=.37\textwidth,angle=-90]{../images/results/jdbccmp-#1-CJDBC_I-#2-Total}}
\subfigure{\includegraphics[width=.37\textwidth,angle=-90]{../images/results/jdbccmp-#1-CJDBC_S-#2-Total}}
\ifthenelse{\equal{#1}{MSJDBC}}{\subfigure{\includegraphics[width=.37\textwidth,angle=-90]{../images/results/jdbccmp-#1-WJDBC-#2-Total}}}{}
\end{figure}

\hfill \\
{\footnotesize
\begin{columns}[T]
\begin{column}{.45\textwidth}
{\bf \clang{Resumo:}{Summary:}}
\begin{itemize}
  \input{sections/results/#1-#2-summary}
\end{itemize}
\end{column}
\begin{column}{.55\textwidth}
{\bf \clang{Porquê?}{Why?}}
\begin{itemize}
  \input{sections/results/#1-#2-why}
\end{itemize}
\end{column}
\end{columns}
}
}

\newsubsection{Preparação}{Setup}{results/setup}
%\newsubsection{Resultados comparando com $MSJDBC$}{Results comparing with $MSJDBC$}{results/jdbccmp}
%\newsubsection{Resultados comparando com $WJDBC$}{Results comparing with $WJDBC$}{results/wjdbccmp}

\clang{\subsection{Comparando com $MSJDBC$}}{\subsection{Comparing with $MSJDBC$}}
\newsubsubsection{Actualização}{Update}{results/jdbccmp-update}
\newsubsubsection{Leitura}{Read}{results/jdbccmp-read}
\newsubsubsection{Inserção}{Insert}{results/jdbccmp-insert}
\newsubsubsection{Remoção}{Delete}{results/jdbccmp-delete}

%\clang{\subsection{Comparando com $WJDBC$}}{\subsection{Comparing with $WJDBC$}}
%\newsubsubsection{Actualização}{Update}{results/wjdbccmp-update}
%\newsubsubsection{Leitura}{Read}{results/wjdbccmp-read}
%\newsubsubsection{Inserção}{Insert}{results/wjdbccmp-insert}
%\newsubsubsection{Remoção}{Delete}{results/wjdbccmp-delete}

\newsubsection{Sumário}{Summary}{results/summary}
